{include file="public/head"}
<body>

  <div class="layui-card layadmin-header">
    {$breadcrumb|raw}
  </div>
  
  <div class="layui-fluid">
    <div class="layui-row layui-col-space15">
      <div class="layui-col-md12">
        <div class="layui-card">
          <div class="layui-card-header">
            {$breadcrumb|raw}
          </div>
          <div class="layui-card-body">
            <form action="{:url('')}" class="layui-form" lay-filter="auth-form" method="post">
              <div class="layui-form-item">
                <label class="layui-form-label">权限组</label>
                <div class="layui-input-block">
                  {volist name="group_list" id="group"}
                  <input type="checkbox" name="post[group_ids][]" title="{$group.name}" value="{$group.id}" {eq name="group.active" value='true'} checked='checked' {/eq}>
                  {/volist}
                </div>
              </div>
              <input type="hidden" name="post[admin_id]" value="{:request()->param('id')}">
              <div class="layui-form-item layui-layout-admin">
                <div class="layui-input-block">
                  <div class="layui-footer" style="left: 0;">
                    <button class="layui-btn" lay-submit="" lay-filter="submit-auth-form">立即提交</button>
                    <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                  </div>
                </div>
              </div>
            </form>
          </div>
        </div>
      </div>
    </div>
  </div>
  
  {include file="public/script"}
</body>
</html>